#region Imported Namespaces


using System.Collections.Generic;

using WtfManager.Framework;


#endregion


namespace WtfManager.HierarchicalData
{
  ///<summary>
  /// Contains services for manipulating hierarchical sets of data. 
  ///</summary>
  public class HierarchicalDataModule: Module
  {
    #region Properties/Indexers


    /// <summary>
    /// Gets a description of a component.
    /// </summary>
    public override string Description
    {
      get
      {
        return "Contains services for manipulating hierarchical sets of data.";
      }
    }

    /// <summary>
    /// Gets a name of a component.
    /// </summary>
    public override string Name
    {
      get
      {
        return "Hierarchical Data Module";
      }
    }


    #endregion


    #region Methods


    protected override List<Service> GetModuleServices()
    {
      var components = new List<Service>();

      components.Add(new DataHierarchyService());
      components.Add(new TreeItemToPathConverter());
      components.Add(new TreeItemToImageConverter());
      components.Add(new TreeItemSerializer());
      components.Add(new ParentProvider());

      return components;
    }


    #endregion
  }
}